-- GENERATED SPELL FOR [Harvest Collector] --


function spell0_25623(pUnit, Event) --@Claw Slash,n/a--
pUnit:FullCastSpellOnTarget(54185,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25623', 564, 1)
end

function Sorts_25623(pUnit, Event)
local choix_sorts_25623 = math.random(0, 0)
if choix_sorts_25623 == 0 then
pUnit:RegisterEvent('spell0_25623', 1, 1)
end
end

function mob25623_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25623', math.random(1500, 3000), 1)
end

function mob25623_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25623_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25623_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25623, 1, 'mob25623_Action')
RegisterUnitEvent(25623, 2, 'mob25623_Leave')
RegisterUnitEvent(25623, 3, 'mob25623_Kill')
RegisterUnitEvent(25623, 4, 'mob25623_Die')
